package com.nineclock.system.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "通讯录数据传输模型DTO")
public class SysCompanyContactConfigDTO implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id; //主键

    @ApiModelProperty(value = "字段名称")
    private String name; //字段名称

    @ApiModelProperty(value = "字段类型 : fixed为固定字段(不可删除)，dynamic为动态字段(可删除)")
    private String type; //字段类型 : fixed为固定字段(不可删除)，dynamic为动态字段(可删除)

    @ApiModelProperty(value = "字段类型 -- Integer , String")
    private String fieldType; //字段类型 -- Integer , String

    @ApiModelProperty(value = "状态: 1为可用 0为不可用")
    private Short status; //状态: 1为可用 0为不可用

    @ApiModelProperty(value = "企业ID")
    private Long companyId; //企业ID

}